#ifndef CHOOSELEAVEWIDGET_H
#define CHOOSELEAVEWIDGET_H

#include <QWidget>
#include "gamewidget.h"

class ChooseLeaveWidget : public QWidget
{
        Q_OBJECT
    public:
        explicit ChooseLeaveWidget(QWidget *parent = nullptr);
        void paintEvent(QPaintEvent *);

//        bool eventFilter(QObject *, QEvent *);

    signals:
        void sendBackToStartpane();
        void sendGotoGamepane(GameWidget *);

};

#endif // CHOOSELEAVEWIDGET_H
